package com.coda.clouddisk.controller.inter;

import com.coda.clouddisk.entity.FileShareRecord;
import com.coda.clouddisk.entity.KesunReturn;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

public interface FileShareRecordController {

    /**
     * 文件共享
     * @param fileShareRecord
     * @return
     */
    public KesunReturn createFileShare( FileShareRecord fileShareRecord);

    /**
     * 获取文件共享
     * @param data
     * @return
     */
    public KesunReturn getShareFile( Map<String,Object> data);
}
